package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 食堂信息对象 sys_canteen
 *
 * @author jijinwu
 * @date 2024-07-22
 */
@ApiModel(value = "食堂信息")
public class SysCanteen extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ApiModelProperty(value = "主键id", dataType = "Long")
    private Long id;

    /**
     * 食堂名称
     */
    @ApiModelProperty(value = "食堂名称", dataType = "String")
    @Excel(name = "食堂名称")
    private String canteenName;

    @ApiModelProperty(value = "食堂照片", dataType = "String")
    private String canteenImage;

    /**
     * 地址
     */
    @ApiModelProperty(value = "地址", dataType = "String")
    @Excel(name = "地址")
    private String address;

    /**
     * 联系电话
     */
    @ApiModelProperty(value = "联系电话", dataType = "String")
    @Excel(name = "联系电话")
    private String telePhone;

    /**
     * 负责人姓名
     */
    @ApiModelProperty(value = "负责人姓名", dataType = "String")
    @Excel(name = "负责人姓名")
    private String managerName;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCanteenName(String canteenName) {
        this.canteenName = canteenName;
    }

    public String getCanteenName() {
        return canteenName;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress() {
        return address;
    }

    public void setTelePhone(String telePhone) {
        this.telePhone = telePhone;
    }

    public String getTelePhone() {
        return telePhone;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerName() {
        return managerName;
    }

    public String getCanteenImage() {
        return canteenImage;
    }

    public void setCanteenImage(String canteenImage) {
        this.canteenImage = canteenImage;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("canteenName", getCanteenName())
                .append("address", getAddress())
                .append("telePhone", getTelePhone())
                .append("managerName", getManagerName())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("canteenImage", getCanteenImage())
                .toString();
    }
}
